package com.jd.charactercalculator.dto.param;

import org.apache.commons.lang.builder.ToStringBuilder;
/**
 * 
 *
 * @author:孙林
 * @since:2012上午10:46:03
 * @version:1.0.0
 */
public class UserParamDto extends PagingParamDto {

	/**
	 * id
	 */
	private Integer id;
	/**
	 * 用户名
	 */
	private String username;
	/**
	 * 密码
	 */
	private String password;

	private String characterId;

	private String sinaWeiboUsername;
	
	private String sinaWeiboUserId;

	private String code;

	private String accessToken;

	private String expireIn ;
	
	private String refreshToken ;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}	


	public String getCharacterId() {
		return characterId;
	}

	public void setCharacterId(String characterId) {
		this.characterId = characterId;
	}

	public String getSinaWeiboUsername() {
		return sinaWeiboUsername;
	}

	public void setSinaWeiboUsername(String sinaWeiboUsername) {
		this.sinaWeiboUsername = sinaWeiboUsername;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	
	public String getExpireIn() {
		return expireIn;
	}

	public void setExpireIn(String expireIn) {
		this.expireIn = expireIn;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public String getSinaWeiboUserId() {
		return sinaWeiboUserId;
	}

	public void setSinaWeiboUserId(String sinaWeiboUserId) {
		this.sinaWeiboUserId = sinaWeiboUserId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
